<?php
/**
 * Created by PhpStorm.
 * User: ytl003
 * Date: 2018/10/1
 * Time: 下午7:15
 */

namespace app\api\model;


class BannerModel extends BaseModel
{
    protected $table = 'banner';

    public function getUrlAttr($value){
        return config('setting.img_prefix').$value;
    }
}